home *** CD-ROM | disk | FTP | other *** search
/ Joystick Magazine 1999 November / cd joystick no109 novembre 1999.iso / Data / sharewares / utilitaires / XQXSET50.ZIP / _SETUP.1 / XQ CD AutoStart Options.xpl < prev    next >
Text File  |  1999-06-14  |  1KB  |  42 lines

  1. "FILE"="Xteq Systems X-Setup Plugin 5.0"
  2. "TYPE"="6"
  3. "COUNT"="1"
  4. "UIPATH"="System\File System\CD Autostart"
  5. "NAME"="Autostart Audio CD"
  6. "VERSION"="1.31"
  7. "LANGUAGE"="VBScript"
  8. "TEXT 1"="Play audio CD-ROMs automatically"
  9. "DESCRIPTION 1"="If you normally insert a CD in your CD-ROM-drive, starts playing the CD using the CD Player."
  10. "DESCRIPTION 2"="If you do not like this behavior, you can change it here."
  11. "DESCRIPTION 3"="Note that this option require "Auto-Insert Notification" for your CD-ROM-drive enabled."
  12. "AUTHOR"="Xteq Systems"
  13. "COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
  14. "COMMENT 1"="For more information, go to http://www.xteq.com or write to TeXHeX@xteq.com."
  15.  
  16.  
  17. Sub Plugin_Initialize 
  18.  s=RegReadValue("HKLM\Software\Classes\AudioCD\Shell\@")
  19.  if s="play" then SetUIElement 1,true
  20. End Sub
  21.  
  22. Sub Plugin_CheckData(ElementIndex)
  23. End Sub
  24.  
  25. Sub Plugin_Apply(ElementIndex,ElementSubIndex)
  26.  b=GetUIElement(1)
  27.  if b=true then
  28.   Call RegWriteValue("HKLM\Software\Classes\AudioCD\Shell\@","play",1)
  29.  else
  30.   Call RegWriteValue("HKLM\Software\Classes\AudioCD\Shell\@","",1)
  31.  end if
  32.  
  33.  Restart
  34. End Sub
  35.  
  36.  
  37. Sub Plugin_Terminate 
  38. End Sub
  39.  
  40.  
  41.  
  42.